package com.lnb.service;

import com.lnb.entity.Roles;
import com.lnb.entity.UserRoles;

import java.util.List;

import org.apache.ibatis.annotations.Select;

import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liningbo
 * @since 2020-05-21
 */
public interface IUserRolesService extends IService<UserRoles> {
	
	List<Roles> getRolesByUserId(Integer uid);

	boolean removeRolesByUserId(Integer userId, String roleIds);

}
